<ui:composition xmlns="http://www.w3.org/1999/xhtml"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:c="http://java.sun.com/jstl/core"
     xmlns:fmt="http://java.sun.com/jstl/fmt"
     xmlns:x="http://java.sun.com/jstl/xml"
     xmlns:fn="http://java.sun.com/jstl/functions"
     xmlns:a4j="http://richfaces.org/a4j"
     xmlns:rich="http://richfaces.org/rich"
     xmlns:gape="http://componentes.gape/component/gape">

	<c:if test="${disabled == null}">
		<c:set var="${disabled}" value="${false}"></c:set>
	</c:if>
	
	<a4j:commandLink action="#{navigation.navega}" id="gapeNavigationForward" disabled="#{disabled}" styleClass="imageLink" data="#{navigation.openError}" 
					 oncomplete="if(data){javascript:Richfaces.showModalPanel('panelError');}" reRender="panelError">
		<h:graphicImage value="/files/arrow_right.png" styleClass="pictureMenu"/>
		
		<f:setPropertyActionListener value="#{mbean}" target="#{navigation.mbean}" />
		<f:setPropertyActionListener value="#{metodo}" target="#{navigation.metodo}" />
		
		<c:if test="${parameterValue != null and parameterValue != ''}">
			<f:setPropertyActionListener value="#{parameterValue}" target="#{parameterTarget}" />
		</c:if>
	</a4j:commandLink>
	
	<rich:toolTip for="gapeNavigationForward" value="#{msg.forward}" />
	
</ui:composition>